package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 问题反馈对象 user_feedback
 *
 * @author ruoyi
 * @date 2025-05-13
 */
public class UserFeedback extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 反馈ID
     */
    private Long id;

    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    private Long userId;
    @Excel(name = "用户名称外键ID查询")
    private String userName;

    /**
     * 问题描述
     */
    @Excel(name = "问题描述")
    private String content;

    /**
     * 联系方式
     */
    @Excel(name = "联系方式")
    private String contact;

    /**
     * 邮箱
     */
    @Excel(name = "邮箱")
    private String email;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String notes;

    /**
     * 处理状态：0待处理，1已处理
     */
    @Excel(name = "处理状态：0待处理，1已处理")
    private Integer status;

    /**
     * 处理回复
     */
    @Excel(name = "处理回复")
    private String reply;

    /**
     * 问题类型
     */
    @Excel(name = "问题类型")
    private Integer typeId;
    @Excel(name = "问题类型名称")
    private String typeNaem;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getReply() {
        return reply;
    }

    public void setReply(String reply) {
        this.reply = reply;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeNaem;
    }

    public void setTypeName(String typeNameStr) {
        this.typeNaem = typeNameStr;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("typeId", getTypeId())
                .append("typeNameStr", getTypeName())
                .append("userId", getUserId())
                .append("userName", getUserName())
                .append("content", getContent())
                .append("contact", getContact())
                .append("email", getEmail())
                .append("notes", getNotes())
                .append("status", getStatus())
                .append("reply", getReply())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
